package com.deer.wms;

import com.tisemi.mes.KW_TO_SAP_WebServiceSoapImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import javax.xml.ws.Endpoint;

/**
 * @author 申紫微
 * @version 1.0
 * @description
 * @data 2021-06-23 17:38:27
 */
@Slf4j
//@Component
public class StartWebService implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        Object implementor = new KW_TO_SAP_WebServiceSoapImpl();
//        String address = "http://10.176.20.54:8041/KW_TO_SAP_WebService.asmx";
        //String address = "http://127.0.0.1:8041/KW_TO_SAP_WebService.asmx";
       // Endpoint.publish(address, implementor);
       // log.info("......WebService Server Start Success!.....");
    }
}
